package com.woniuxy02;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-10-21 16:54
 */
public class Test07 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("输入张三的年龄");
        int zsAge=scanner.nextInt();
        System.out.println("输入李四的年龄");
        int lsAge=scanner.nextInt();
        boolean flag=zsAge>lsAge;
        System.out.println("张三的年龄是否大于李四:"+flag);
    }
}
